package org.example.apply.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("service-msg")
public interface MsgFeign {

    @RequestMapping("/msg/send")
    public void send(@RequestParam String email, @RequestParam String content);
}
